<div class="layoutform resource_common_fields_form">

  <!--Title-->
  <section class="title">
    <label><%= t('document.leyend.title')%></label>
    <input type="text" class="title form-control" placeholder="<%= t('document.title_input')%>">
  </section>

  <!--Description-->
  <section class="description">
    <label class="description_label"><%= t('document.leyend.description')%></label>
    <textarea type="text" class="description form-control" placeholder="<%= t('document.input')%>"></textarea>
  </section>

  <!--Tags-->
  <section class="tags">
    <label><%= t('document.leyend.tags')%></label>
    <div class="tagBoxDocument">
      <ul class="resourceTagList"></ul>
    </div>
  </section>

  <!--Avatar-->
  <section class="avatar">
    <label class="new_file_avatar_label"><%= t('document.leyend.avatar')%></label>
    <input class="new_file_avatar" type="file" accept="image/*">
  </section>

  <!--Language-->
  <section class="language">
    <label><%= t('document.leyend.language')%></label>
    <br/>
    <%= select_tag(:language, resource_language_options_for_select(d.language), :class => "language") %>
  </section>

  <!--Age slider-->
  <section class="target_age">
    <label><%= t('document.leyend.recommended_age')%></label>
    <br/>
    <div class="limits">
      <div class="limit1">0</div>
      <div class="limit2">0</div>
    </div>
    <input type="text" class="age-slider" value="" data-slider-min="0" data-slider-max="30" data-slider-step="1" data-slider-value="[0,1]" data-slider-orientation="horizontal" data-slider-tooltip="hide"/>
  </section>

  <!--License-->
  <section class="license">
    <label><%= t('document.info.license')%></label>
    <br/>
    <%= select_tag(:license_id, resource_license_options_for_select(d.license_id,d.document?), :class => "resource_license") %>
  </section>

</div>
